package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间类型对象 room_category
 * 
 * @author ruoyi
 * @date 2021-04-15
 */
public class RoomCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型编号 */
    private Integer categoryId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String categoryName;

    /** 费用价格 */
    @Excel(name = "费用价格")
    private String price;

    /** 房型总量 */
    @Excel(name = "房型总量")
    private Long totalNum;

    /** 余量 */
    @Excel(name = "余量")
    private Long leftNum;

    /** 是否有余量 */
    @Excel(name = "是否有余量")
    private Integer isLeft;

    /** 备注 */
    @Excel(name = "备注")
    private String categoryComment;

    public void setCategoryId(Integer categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Integer getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setTotalNum(Long totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Long getTotalNum() 
    {
        return totalNum;
    }
    public void setLeftNum(Long leftNum) 
    {
        this.leftNum = leftNum;
    }

    public Long getLeftNum() 
    {
        return leftNum;
    }
    public void setIsLeft(Integer isLeft) 
    {
        this.isLeft = isLeft;
    }

    public Integer getIsLeft() 
    {
        return isLeft;
    }
    public void setCategoryComment(String categoryComment) 
    {
        this.categoryComment = categoryComment;
    }

    public String getCategoryComment() 
    {
        return categoryComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("price", getPrice())
            .append("totalNum", getTotalNum())
            .append("leftNum", getLeftNum())
            .append("isLeft", getIsLeft())
            .append("categoryComment", getCategoryComment())
            .toString();
    }
}
